<?
class VB_Db_Table extends General_Db_Table {
	protected $_rowsetClass = 'VB_Db_Table_Rowset';

	protected $_dependentData = array();
	
	public function getAllActive(Zend_Db_Table_Select $query  = null) {
		if (empty($query)) {
			$query =$this->select();
		}
		
		$query->where('status_id = ?',10);
		return $this->fetchAll($query);
	}
}